function CrossPoint(x, y, level)
{
	this.idx = new Point(x, y);
	this.level = level;
	this.s = -1;
	this.e = -1;
	this.start = false;
	this.end = false;
	this.pos = new Point(0, 0);
}

 CrossPoint.prototype.SetPosition = function(x, y)
 {
 	this.pos.X = vLines[x].startPos.X;
 	this.pos.Y = 20 + vLines[x].startPos.Y + vLines[x].vLength / 10 * y;
 }